import { SlotsType, defineComponent } from 'vue'

export const Test3 = defineComponent({
  name: 'Test3',
  props: {
    test: String,
    test1: {
      type: String,
      required: true,
    },
  },
  emits: {
    /**
     * 测试
     * @param e
     * @returns
     */
    test: (_e: string) => true,
  },
  slots: Object as SlotsType<{ icon: { type: string } }>,
  setup: () => {
    return () => <div></div>
  },
})
